﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OpenESSOConfigurator.PresentationLayer.PresentationModels;
using OpenESSOConfigurator.PresentationLayer.EventBroker;
using OpenESSOConfigurator.PresentationLayer.EventBroker.Handlers;

namespace OpenESSOConfigurator.PresentationLayer.UserControls
{
    public partial class CSGConfig : UserControl,IView
    {
        public CSGConfig()
        {
            InitializeComponent();
            
        }

        private void CSGView_Load(object sender, EventArgs e)
        {
            CSGPresentationModel.Instance.RegisterView(this);
            this.Update();
        }
        public new void Update()
        {
            this.CSGbindingSource.DataSource = CSGPresentationModel.Instance.CredentialSharingGroup;
        }
        
    }
}
